﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Userpage.aspx.cs" Inherits="Userpage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <asp:Label ID="Label2" runat="server" Text="Chào mừng :"></asp:Label>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <fieldset><legend>Shopping cart</legend>
    <p>
        <br />
        
        <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Horizontal" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="masach" HeaderText="Mã Sách" />
                <asp:BoundField DataField="ten" HeaderText="Tên sách" SortExpression="ten" />
                <asp:BoundField DataField="gia" HeaderText="Giá" SortExpression="gia" />
                <asp:TemplateField HeaderText="Số Lượng">

                   <ItemTemplate>
                    <asp:TextBox ID="PurchaseQuantity" Width="40" runat="server" Text="<%#: Item.Quantity %>"></asp:TextBox> 
                </ItemTemplate> 
                </asp:TemplateField>
                <asp:CheckBoxField DataField="them" HeaderText="Thêm" SortExpression="them" />
                <asp:CheckBoxField DataField="xoa" HeaderText="Xóa" SortExpression="xoa" />
            </Columns>
            <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
            <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
            <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F7F7F7" />
            <SortedAscendingHeaderStyle BackColor="#4B4B4B" />
            <SortedDescendingCellStyle BackColor="#E5E5E5" />
            <SortedDescendingHeaderStyle BackColor="#242121" />
        </asp:GridView>
    </p>
    <table class="auto-style3">
        <tr>
            <td>
                <asp:ImageButton ID="themhang" runat="server" Height="42px" ImageUrl="~/icon/400_F_30864439_DNdHHT3uNGe9OOKv55ry2q6RdSN1iOlm.jpg" OnClick="ImageButton1_Click" Width="140px" />
            </td>
            <td>
                <asp:ImageButton ID="ImageButton2" runat="server" Height="34px" ImageUrl="~/icon/update-icon-vector.jpg" Width="95px" />
            </td>
        </tr>
    </table>
        </fieldset>
</asp:Content>

